<script setup lang="ts">

import {useRoute} from "vue-router";

const currentRoute = useRoute();
const props = defineProps({
  title: {
    type: String,
    default: ''
  },
  vertical: {
    type: Boolean,
    default: false
  }
});
const pageTitle = (currentRoute.meta.title ?? props.title) as string
const vertical = props.vertical
</script>

<template>
  <div class="app-page">
    <n-space :vertical="vertical">
      <slot/>
    </n-space>
  </div>
</template>

<style scoped>

</style>
